home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 14 / goalseek.zip / MANUAL.GS < prev    next >
Text File  |  1987-03-18  |  49KB  |  1,241 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                                  G O A L S E E K E R
  26.  
  27.  
  28.                               U S E R S'    M A N U A L
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.                                            Copyright 1987 Brown Bag Software
  49.  
  50.                                                        2155 South Bascom Ave
  51.                                                                    Suite 114
  52.                                                           Campbell  Ca 95008
  53.                                                                     U. S. A.
  54.  
  55.  
  56.                                                          Tel:  (408)559 4545
  57.  
  58.  
  59.  
  60.                                                   1
  61.  
  62.  
  63.  
  64.  
  65.  
  66.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  67.  
  68.           GETTING STARTED WITH GOALSEEKER
  69.  
  70.           DISCRIPTION
  71.           GoalSeeker  is  used  in  conjunction with your spreadsheet (Lotus
  72.           1-2-3, etc.) to automatically find solutions  with a  "reverse" or
  73.           "backward"  search  method,  also  known  as "goal seeking".  Goal
  74.           seeking is  the ability  to achieve  certain targeted  values in a
  75.           spreadsheet by varying the associated data.  
  76.  
  77.           HARDWARE/SOFTWARE REQUIREMENTS
  78.           GoalSeeker requires an IBM PC, XT, AT or 100% compatible using DOS
  79.           2.0 or above.  GoalSeeker  requires  approximately  40k  of memory
  80.           overhead.  
  81.  
  82.           GoalSeeker must  be run in 80 column mode with either a monochrome
  83.           or color graphics monitor  in  conjunction  with  your spreadsheet
  84.           software.  
  85.  
  86.           Although not  required, GoalSeeker  will utilize  an 8087 or 80287
  87.           math co-processor chip if installed.  
  88.  
  89.           INSTALLING GOALSEEKER
  90.           Since the GoalSeeker archive  contains four  different versions of
  91.           the program,  it is  important that you select the correct one for
  92.           your spreadsheet program.   
  93.  
  94.           GoalSeeker supports SuperCalc4, Multiplan and VP  Planner, as well
  95.           as Lotus 1-2-3.   Copy the correct version of GoalSeeker onto your
  96.           spreadsheet system disk, or  into the  spreadsheet subdirectory of
  97.           your hard disk.   
  98.  
  99.           IF YOU USE A FLOPPY DISK SYSTEM
  100.                Insert the GoalSeeker disk in drive A:.  
  101.                Insert your spreadsheet work disk in drive B:.
  102.                At an "A:>" prompt type: 
  103.  
  104.                          COPY  A:GS-#.COM  B:GS.COM
  105.  
  106.                Where #  =     123  if you use Lotus 1-2-3.
  107.                               SC4  if you use SuperCalc4.
  108.                               MP   if you use Multiplan.
  109.                               VP   if you use VP Planner.
  110.  
  111.           IF YOU USE A HARD DISK SYSTEM
  112.           Insert the GoalSeeker disk in drive A:.
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.                                                   2
  120.  
  121.  
  122.  
  123.  
  124.  
  125.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  126.  
  127.           Change into your spreadsheet sub-directory on your hard disk.  
  128.           At a "C:>" prompt type: 
  129.  
  130.                          COPY  A:GS-#.COM  GS.COM
  131.  
  132.                Where #  =     123  if you use Lotus 1-2-3.
  133.                               SC4  if you use SuperCalc4.
  134.                               MP   if you use Multiplan.
  135.                               VP   if you use VP Planner.
  136.  
  137.  
  138.           TO START GOALSEEKER
  139.           To start  GoalSeeker, change  to the  disk drive and sub-directory
  140.           where your spreadsheet is stored.  If GoalSeeker has been properly
  141.           installed (as  per instructions  above), you  can type "GS" at the
  142.           DOS prompt and then press the <Enter> key to run the program.  
  143.  
  144.           This will load GoalSeeker into the memory of  your computer.   You
  145.           can activate GoalSeeker while you are in your spreadsheet with the
  146.           push of a key.  You  must be  within your  spreadsheet to  use the
  147.           GoalSeeker system.  
  148.  
  149.           NOTE:
  150.                If  you  use  ANY  other  memory  resident  software  such as
  151.                HomeBase you should load GoalSeeker FIRST.
  152.  
  153.           Once GoalSeeker is loaded, start your spreadsheet as normal.  When
  154.           the  spreadsheet  is  displayed  on  the  screen, you may activate
  155.           GoalSeeker by pressing the  <ALT><SPACE> key  combination.   To do
  156.           this, hold down the key marked "Alt" with your left hand and press
  157.           the space bar with you right.  
  158.  
  159.           The GoalSeeker menu will appear on  the  top  line  of  the screen
  160.           (over the top of your spreadsheet).  The menu looks like this: 
  161.  
  162.                                                                           
  163.             Help   Goal   Seek   Parameters   Multi-goal   Review   Quit  
  164.                                                                           
  165.  
  166.           You may use the arrow keys to move to the desired option and press
  167.           the return key or simply enter the first letter of  the option you
  168.           wish.  
  169.  
  170.           SET THE GOAL VALUE FIRST
  171.           Move the  spreadsheet cursor  to the desired GOAL cell.  This cell
  172.           must be a "formula (calculated) cell".  Press the <ALT><SPACE> key
  173.           combination, then press the "G" key for "Goal".  
  174.  
  175.           A rectangular  box will be displayed over the original position of
  176.  
  177.  
  178.                                                   3
  179.  
  180.  
  181.  
  182.  
  183.  
  184.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  185.  
  186.           the spreadsheet cursor.    Type  in  the  desired  goal  and press
  187.           <Enter>.  Press the <Esc> key to cancel.  
  188.  
  189.           Example:
  190.                If cell  B3 has a formula of "+A1*2", set a goal on this cell
  191.                of 128.00.  
  192.  
  193.                                                         
  194.                   A        B         C          D       
  195.              1  12.00                                   
  196.              2            GOAL                          
  197.              3           128.00                         
  198.              4                                          
  199.              5                                          
  200.                                                         
  201.  
  202.           NEXT MOVE CURSOR TO SOLUTION CELL
  203.           Move the spreadsheet cursor  to  the  cell  you  wish  to  vary to
  204.           achieve your desired goal.  In our example above, move to cell A1.
  205.  
  206.  
  207.           This cell must be an "input (data) cell".  Press  the <ALT><SPACE>
  208.           key combination, and then the "S" key for "Seek".  
  209.  
  210.           This will  begin the  goal seeking operation.  You will notice the
  211.           spreadsheet screen flashing as GoalSeeker begins its calculations.
  212.           Calculations  will  continue  until  the  solution is found or the
  213.           maximum number of iterations is reached.  
  214.  
  215.           Example: (where B3 is +A1*2)
  216.  
  217.                                                              
  218.                        A        B         C          D       
  219.                   1  64.00                                   
  220.                   2                                          
  221.                   3           128.00                         
  222.                   4                                          
  223.                   5                                          
  224.                                                              
  225.  
  226.           When the solution is  found, usually  after 3  tries (iterations),
  227.           the message  "SOLUTION FOUND"  will be displayed at the top of the
  228.           screen.  
  229.  
  230.           Press the "R" key to "Restore" the original value or any other key
  231.           to continue.   When  the "R" key is pressed, the starting value in
  232.           the solution cell is replaced.  
  233.  
  234.           A SIMPLE DEMO
  235.  
  236.  
  237.                                                   4
  238.  
  239.  
  240.  
  241.  
  242.  
  243.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  244.  
  245.           There  is  a  demo  worksheet  named  "DEMO"  on  your  GoalSeeker
  246.           diskette.  
  247.  
  248.           After you  have typed  "GS" and pressed the <Enter> key at the DOS
  249.           prompt, load the worksheet DEMO into your spreadsheet.  Follow the
  250.           steps outlined  on your  screen to  see how  easy GoalSeeker is to
  251.           use.  
  252.  
  253.           In this demo the following information is true: 
  254.  
  255.                "Sales" and "Expenses" are input numbers.
  256.                "Profit" is calculated as "Sales" minus "Expenses".
  257.                "TOTAL" is the sum of "Jan", "Feb", and "Mar".  
  258.  
  259.                "TOTAL Profit" is at cell G20 and we set the goal to $7,000.
  260.  
  261.                We want to find what "Sales" are required in "Feb" (cell E17)
  262.                to reach our goal of $7,000 Profit for the 1st quarter.
  263.  
  264.           GoalSeeker MENU
  265.           When you  are in  your spreadsheet  and press the <ALT><SPACE> key
  266.           combination, a "1-2-3 like" menu will appear on the second line of
  267.           your screen such as the one below.  
  268.  
  269.                                                                           
  270.             Help   Goal   Seek   Parameters   Multi-goal   Review   Quit  
  271.                                                                           
  272.  
  273.           In the  previous example, the word "Help" is highlighted.  You may
  274.           use the right or left arrow keys on the numeric keypad to  move to
  275.           the  correct  option,  or  you  may  enter the first letter of the
  276.           option desired  (i.e.,  Pressing  the  "R"  key  will  display the
  277.           "Review" window).  
  278.  
  279.           If  you  press  the  <Enter> key, the option currently highlighted
  280.           will be activated.  
  281.  
  282.           Under the menu is displayed one line explanation  of the currently
  283.           highlighted option.   When  you change the highlighted option, the
  284.           one line explanation will change accordingly.  
  285.  
  286.           Pressing the <Esc> key will cancel the menu and return  you to the
  287.           spreadsheet.  
  288.  
  289.           HELP OPTION
  290.           Help can  be obtained from the GoalSeeker menu by pressing the "H"
  291.           key or positioning the  cursor on  the "Help"  option and pressing
  292.           the return key.  A help screen will be displayed.
  293.  
  294.  
  295.  
  296.                                                   5
  297.  
  298.  
  299.  
  300.  
  301.  
  302.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  303.  
  304.  
  305.           GOAL OPTION
  306.           Two terms are defined here: 
  307.  
  308.           GOAL CELL is the cell where we want our target number.  
  309.  
  310.           GOAL VALUE is the desired goal.  
  311.  
  312.           The  GOAL  cell  must  contain  a  formula, because we will modify
  313.           another cell to get the calculated value of this cell to equal the
  314.           goal value you desire.  
  315.  
  316.           When you  press the  "G" key on the GoalSeeker menu, the following
  317.           message will be displayed at the top of your screen: 
  318.  
  319.                Enter the desired goal in  the  cell  below  &  press return,
  320.                (Esc=cancel).
  321.                The current goal (xx) = yy.yy
  322.  
  323.           Where xx is the goal cell and yy is the goal value.  
  324.  
  325.           A rectangular  box with  a blinking  cursor will be displayed over
  326.           the GOAL cell (where the spreadsheet  cursor was).   The  user may
  327.           enter the  desired goal  followed by  pressing the  <Enter> key or
  328.           press the <Esc> key to return to the GoalSeeker menu.  
  329.  
  330.           To see the original value in the cell, press the <Esc> key.  
  331.  
  332.           IMPORTANT
  333.           The GOAL cell will  remain in  the same  location until  you enter
  334.           another location.  The GOAL cell value will not change even if you
  335.           insert or delete rows/columns, even if  you change  worksheets, or
  336.           even if you quit your spreadsheet and restart it later.  
  337.  
  338.           Example:
  339.                If  you  enter  a  goal  value  in cell C23, quit out of your
  340.                spreadsheet, restart your spreadsheet  and  load  a different
  341.                worksheet, the  goal cell  is still  defined as cell C23 with
  342.                the same goal value.  
  343.  
  344.           GOAL VALUES
  345.           The goal value must fit the following rules:
  346.  
  347.                Be a numeric value.  
  348.  
  349.                Begin with one of the characters:  0 1 2 3 4 5 6 7 8 9 .  -
  350.  
  351.                Must not be entered with  commas,  dollar  signs,  or percent
  352.                signs.  
  353.  
  354.  
  355.                                                   6
  356.  
  357.  
  358.  
  359.  
  360.  
  361.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  362.  
  363.                Can contain up to 15 characters.  
  364.  
  365.                Must be  between -1.e99 and 1.e99, although GoalSeeker stores
  366.                numbers ranging from -1.e308 to 1.e308.  
  367.  
  368.                Can only have one decimal point.  
  369.  
  370.                Can  be   entered  in   scientific  format.     For  example,
  371.                "1.123E-12" or " .344-e44" would be acceptable, where the "E"
  372.                can be in upper or lower case.  
  373.            
  374.           You can use the following special keys:
  375.  
  376.                You must press the  <Enter> key  when you  have completed the
  377.                number.  
  378.  
  379.                You can press the key combination <Ctrl><H>, a backspace key,
  380.                or the  left  arrow  key  on  the  keypad  to  correct typing
  381.                mistakes.  
  382.  
  383.                The <Esc>  key will  cancel the  number and return you to the
  384.                GoalSeeker menu.  No goal value will be entered.  
  385.  
  386.           LARGE NUMBERS
  387.           The  rectangular  box  is  the  same  size  as  the  size  of  the
  388.           spreadsheet column  width; however,  if you wish to enter a number
  389.           larger than the width of the box, continue to type  the goal value
  390.           up to 15 digits.  
  391.           GoalSeeker will allow you type past the edge of the box.  
  392.  
  393.           SCIENTIFIC FORMAT
  394.           A number  may be  entered with  a power of 10 scaling factor.  The
  395.           number may  be up  to plus  or minus  10 to  the 99th  power.  The
  396.           following chart describes the scientific notation standard.  
  397.  
  398.                                                             
  399.                                      upper or lower case E  
  400.                                                             
  401.                                        1 or 2 digit number  
  402.                  xxxxxxE nn                                 
  403.                                either a plus or minus sign  
  404.                                                             
  405.                           any number, positive or negative  
  406.                                                             
  407.  
  408.           An example of scientific notation would be "1.234E-74".  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.                                                   7
  415.  
  416.  
  417.  
  418.  
  419.  
  420.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  421.  
  422.           SEEK OPTION
  423.           The Seek  option is  used to  start the goal seeking process.  You
  424.           should set the goal value first.  For more information  on setting
  425.           that value, see "Goal Option".  
  426.  
  427.           Move the  spreadsheet cursor to the SOLUTION cell (the cell we are
  428.           going to vary)  and  press  the  "S"  key  (for  "Seek")  to begin
  429.           "goal seeking".    You  will  see  the  screen  begin  to flash as
  430.           GoalSeeker tries new values in this SOLUTION cell.  
  431.  
  432.           SOLUTION FOUND
  433.           Once the solution is found, the correct value will be displayed in
  434.           a  box  in  the  SOLUTION  cell, and the following message will be
  435.           printed on the top line of the screen: 
  436.  
  437.           SOLUTION FOUND                            
  438.           Press the R key  to  Restore  the  original  value  -  any  key to
  439.           continue   
  440.                                                                         
  441.                                                           
  442.                          G        H       I        J      
  443.                  23                                       
  444.                  24   SOLUTION   1.23    3.23      2.37   
  445.                  25    44.84    55.55   63.44     77.21   
  446.                  26                                       
  447.                  27                                       
  448.                                                           
  449.  
  450.           In  the  previous  example,  if  you press any key except "R", the
  451.           solution will be accepted.  
  452.  
  453.           When the "R" key is pressed, the starting value (the  value before
  454.           GoalSeeker began processing) is placed back into your spreadsheet.
  455.  
  456.  
  457.           If the recalculation mode  is  "Automatic",  then  the spreadsheet
  458.           will be  returned to its original condition.  If the recalculation
  459.           mode is "Manual", the  starting  value  will  be  replaced,  but a
  460.           recalculation will not be performed.  
  461.  
  462.           SOLUTION NOT FOUND
  463.           If the  solution has  not be  found, the following message will be
  464.           displayed at the top of your screen: 
  465.  
  466.           Maximum number of iterations reached 
  467.           Press the R key  to  Restore  the  original  value  -  any  key to
  468.           continue
  469.  
  470.           GoalSeeker  will  choose  the  solution  which came closest to the
  471.           desired goal  as a  final answer.   Press  any key  to accept this
  472.  
  473.                                                   8
  474.  
  475.  
  476.  
  477.  
  478.  
  479.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  480.  
  481.           "best" answer or press the "R" key to "Restore" the starting value
  482.           in the SOLUTION cell.  
  483.  
  484.           If the solution was not found, you might  try the  goal seek again
  485.           with this  new starting  value.   Usually, the closer the solution
  486.           value is to the actual value, the more quickly GoalSeeker  will be
  487.           able to find the correct answer.  
  488.  
  489.           You may  wish to  look at the Review Option to determine how close
  490.           GoalSeeker came to the actual goal.  
  491.  
  492.           See the SPECIAL SITUATIONS section  for  more  information  on the
  493.           "solution not found" message.  
  494.  
  495.           PARAMETERS OPTION
  496.           Parameters are  used to  set limits  on the  goal seeking process.
  497.           There are 7 parameters  which are  used in  GoalSeeker.   When you
  498.           press the  "P" key on the GoalSeeker menu, the "Parameters" window
  499.           will appear over the top of your spreadsheet.  
  500.  
  501.           To change one of the parameters, enter a number from 1 to 7.  When
  502.           a  number  is  entered,  you  may  type  in  the parameter number,
  503.           followed by the <Enter>  key.    The  <Esc>  key  will  cancel the
  504.           current option and/or the parameters menu.  
  505.  
  506.           Option  7  toggles  between  "YES"  to  "NO"  when  the "7" key is
  507.           pressed.  
  508.  
  509.           NOTE:
  510.                The  parameters  stay  in  effect  if  you  load  a different
  511.                worksheet, or  even if  you quit your spreadsheet and restart
  512.                it later.  The parameters will not be reset until  you remove
  513.                GoalSeeker from  memory (with  the "REMOVE"  command) or turn
  514.                your computer off.  
  515.  
  516.           MAXIMUM NUMBER OF ITERATIONS
  517.           The default value is 10.  
  518.  
  519.           Typically, GoalSeeker will find  the solution  in three iterations
  520.           (number of  solutions tried).   However,  some of the more complex
  521.           spreadsheets  may  require  more  than  10  iterations  to  find a
  522.           solution.  
  523.  
  524.           NOTE:
  525.                The starting value of the solution is important.  If the goal
  526.                has not been found in the  maximum number  of iterations, the
  527.                best value is chosen.  You might try the goal seek again with
  528.                the new value.  
  529.  
  530.  
  531.  
  532.                                                   9
  533.  
  534.  
  535.  
  536.  
  537.  
  538.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  539.  
  540.           Typically, fewer iterations are required if the starting number is
  541.           close to the solution.  
  542.  
  543.           The number of iterations may be set from 1 to 25.  
  544.  
  545.           PERCENT ERROR ALLOWED IN GOAL
  546.           The default value is .5%.  
  547.  
  548.           When the  Goal value  falls within this percent tolerance (plus or
  549.           minus), the goal is determined to be found.   The  default percent
  550.           error is  one-half of 1%.  GoalSeeker will usually find the answer
  551.           exactly;  however,  this  percent   error  will   allow  for  some
  552.           flexibility.  
  553.  
  554.           Example:
  555.                If .5% is the percent error in the goal and the goal value we
  556.                are looking for is 100, then  a  goal  of  99.5  to  100.5 is
  557.                valid.  
  558.  
  559.                                                              
  560.                  99.5               100               100.5  
  561.                                                              
  562.                                                              
  563.  
  564.           If the  goal value  we are  looking for  is zero  (0), the percent
  565.           error is multiplied times 1 to  determine the  variance allowed (1
  566.           is used because zero times percent error is zero).  
  567.  
  568.           Example: 
  569.                If .1%  is the percent error allowed in the Goal and the goal
  570.                we are looking for is 0.0, then a goal of  -.001 to  +.001 is
  571.                valid.  
  572.  
  573.                                                              
  574.                  -.001              0.0                .001  
  575.                                                              
  576.                                                              
  577.  
  578.           The percent error value may be entered up to 9 decimal places.  
  579.  
  580.           NOTE:
  581.                The user  may enter  any percent error including zero percent
  582.                (0%) error,  however, if  a zero  percent error  is used, the
  583.                goal value must match exactly to 15 decimal places.  
  584.  
  585.           PERCENT TO VARY INITIAL VALUE
  586.           The default value is 10%.  
  587.  
  588.           The starting  value of  the SOLUTION cell is multiplied times this
  589.  
  590.  
  591.                                                  10
  592.  
  593.  
  594.  
  595.  
  596.  
  597.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  598.  
  599.           percentage to obtain the second value.  This percentage is used to
  600.           make the first "guess" to solve the goal seeking problem.  
  601.  
  602.           The  percent  value  can  be  within  any range, including a minus
  603.           percentage.  
  604.  
  605.           In most cases, this percentage will have no effect on  the outcome
  606.           of the  solution.   However, if the solution is bounded by a small
  607.           amount, the user may wish to restrict the second guess  to say 1%.
  608.  
  609.  
  610.           Example:
  611.                If the starting value is 10 and the percentage is set to 10%,
  612.                the second value of the solution will be 11.  
  613.  
  614.           LOWER/UPPER BOUNDARY OF THE SOLUTION
  615.           The default value is -1.e99 to 1.e99 (or no bounds).  
  616.  
  617.           If you know the range of the solution, you may  wish to  limit the
  618.           bounds of the solution with this parameter.  
  619.  
  620.           Example:
  621.                If you  know the  solution is  positive, set  the lower bound
  622.                to 0.  
  623.  
  624.           Generally you will not need to set this parameter.  
  625.  
  626.           RECALC "N" TIMES BEFORE SOLUTION IS PICKED
  627.           The default value is 1.  
  628.  
  629.           This parameter is only  useful  on  spreadsheets  with  a circular
  630.           reference.  
  631.  
  632.           Some spreadsheets  are required to be executed "N" number of times
  633.           before the answers in the spreadsheet  converge.   You should know
  634.           the number required to make the goal value converge before you use
  635.           this option.  
  636.  
  637.           The Recalc "N" times may be set from 1 to 50.  
  638.  
  639.           MULTI-GOAL: STOP ON ERROR
  640.           The default value is "YES" 
  641.  
  642.           This parameter  is only  used for  the "Multi-Goal"  option.  When
  643.           "Stop  on  error"  =  YES  and the maximum number of iterations is
  644.           reached without finding a goal, the "Multi-Goal" option  will stop
  645.           and issue its normal error message.  
  646.  
  647.           "Stop on  error" =  NO is  useful if the user wants to control the
  648.           multi-goal with the spreadsheets macro capability.  If the maximum
  649.  
  650.                                                  11
  651.  
  652.  
  653.  
  654.  
  655.  
  656.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  657.  
  658.           number  of   iterations  is  reached  or  any  error  occurs,  the
  659.           multi-goal macro will be executed.  If no  macro exists,  the next
  660.           multi-goal value will be executed.  
  661.  
  662.           If "Stop  on error" = NO, no indication that an error has occurred
  663.           will be given.  
  664.  
  665.           MULTI-GOAL OPTION
  666.           The "Multi-Goal" option allows you to run a series of goal seeking
  667.           jobs at  a time.  When you press the "M" key (for "Multi-Goal") on
  668.           the GoalSeeker menu, the "Multiple Goals" window will be displayed
  669.           over your spreadsheet.  
  670.  
  671.                                                                          
  672.                                GoalSeeker MULTIPLE GOALS                 
  673.                         Esc=cancel, F10=start multiple goal seek         
  674.                                                                          
  675.                  To use multiple goals, a portion of your spreadsheet    
  676.                  should look similar to below - each cell is adjacent    
  677.                                                                          
  678.                  Enter the cell location within your spreadsheet where   
  679.                  the cell C2 below would be located: ______________      
  680.                  (then press return; F10 to execute)                     
  681.                                                                          
  682.                          SOLUTION   GOAL    GOAL      Results MACRO      
  683.                            Cell     Cell    Value     Key (optional)     
  684.                  your       H        I        J             K            
  685.                  spread    C2       D3      1234.23                      
  686.                  sheet     E5       E15     2672.89      MACRO R         
  687.                            F5       F15     0.0          MACRO T         
  688.                                                                          
  689.  
  690.           MULTI-GOAL AND YOUR SPREADSHEET
  691.           Within your  spreadsheet, you  should set aside an area which will
  692.           describe the values required for GoalSeeker to operate.   The area
  693.           should contain  4 columns  (cells) of information.  These 4 values
  694.           are on a single row and contain enough  information for GoalSeeker
  695.           to perform one goal seek.  
  696.  
  697.           This  area  will  describe  the  SOLUTION cell, the GOAL cell, the
  698.           desired goal value for the GOAL cell, and optionally, the  name of
  699.           a user defined macro to execute after the goal has been found.  
  700.  
  701.           NOTE:
  702.                The word "MACRO" is a keyword to GoalSeeker.
  703.  
  704.           RULES FOR MULTI-GOAL SPREADSHEET VALUES
  705.  
  706.                The cell values may be upper or lower case (i.e., a23).
  707.                Cell values must be left justified(i.e., 'C9).
  708.  
  709.                                                  12
  710.  
  711.  
  712.  
  713.  
  714.  
  715.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  716.  
  717.                Only one value per cell.  
  718.                The goal value must be a numeric value.
  719.                The goal value may be in any numeric format (i.e., $1,234).
  720.                The keyword MACRO must be left justified in the cell.
  721.                A  single  space  should  separate  the keyword MACRO and the
  722.                single Letter defining the macro (i.e., MACRO G).
  723.  
  724.           TO OPERATE
  725.           To enter  the  Multi-Goal  Option,  press  the  "M"  key  from the
  726.           GoalSeeker menu.  Next enter the cell location (which is the upper
  727.           left hand corner of your  spreadsheet  area),  press  <Enter> then
  728.           press the  "F10" key to start the Multi-Goal goal seeking process.
  729.  
  730.  
  731.           There is no GoalSeeker limit as to the  number of  rows used  in a
  732.           Multi-Goal operation.  
  733.  
  734.           Example:
  735.                The following  example of  Multi-Goal and macros demonstrates
  736.                how you can goal  seek on  "Sales" for  each of  12 months to
  737.                find a goal of $17,000 in "TOTAL PROFIT" in cell L95.  
  738.  
  739.                                                                        
  740.                         A         B         C         D         E      
  741.                   13                                                   
  742.                   14             Jan       Feb       Mar       Apr     
  743.                   15 Sales     1,234     3,434     4,234     6,347     
  744.                   .      .        .         .         .         .      
  745.                   .      .        .         .         .         .      
  746.                   .      .        .         .         .         .      
  747.                  299                                                   
  748.                  300             B15       L95     17000      MACRO B  
  749.                  301             C15       L95     17000      MACRO C  
  750.                  302             D15       L95     17000      MACRO D  
  751.                  303                                                   
  752.                  304 \B         /CB15~B297~                            
  753.                  305 \C         /CC15~C297~                            
  754.                                                                        
  755.                
  756.           To  start  the  above  example,  enter  cell  "B300" in Multi-Goal
  757.           Option.  
  758.  
  759.           Multi-Goal and Macros
  760.           The fourth parameter in  your  spreadsheet  is  an  optional macro
  761.           name.   When the keyword "MACRO" followed by a letter "A" thru "Z"
  762.           is in the fourth  cell,  after  the  goal  is  found,  it  will be
  763.           executed.  This macro must be predefined in your worksheet.  
  764.  
  765.           Example:
  766.  
  767.  
  768.                                                  13
  769.  
  770.  
  771.  
  772.  
  773.  
  774.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  775.  
  776.                                                                        
  777.                         R         S          T         U         V     
  778.                  21                                                    
  779.                  22                                                    
  780.                  23           A7         G19       123.33     MACRO I  
  781.                  24           A7         G19        34.51     MACRO K  
  782.                  25                                                    
  783.                  27 \I        /FStest1~                                
  784.                  28 \K        /PPG                                     
  785.                                                                        
  786.  
  787.           To start  the above example, enter "S23" in the Multi-Goal Option.
  788.  
  789.  
  790.           In the above example, the cell A7 is the SOLUTION cell, G19 is the
  791.           GOAL cell,  the goal  value is 123.33, the predefined MACRO I will
  792.           be executed after the goal 123.33 has been achieved, then the next
  793.           row (beginning with S24) will be executed.  
  794.  
  795.           The goal seeking process will stop on cell S25.  
  796.  
  797.           MACRO I is a 1-2-3 macro to do a "File Save test1".  
  798.           MACRO  K  is  a  1-2-3  macro  to  do  a "Print Printer Go" (range
  799.           preset).  
  800.  
  801.           The macro executed by GoalSeeker can perform almost  any function,
  802.           except as described in the next section.  
  803.  
  804.           EXAMPLES OF MULTI-GOAL MACROS
  805.  
  806.                Save the spreadsheet
  807.                Print the solution and goal to a printer
  808.                Load a different worksheet 
  809.                Change the goal value in multi-goal
  810.                Save the solution in another cell
  811.                Restore the original value
  812.                Change the worksheet equations
  813.                Change a worksheet value
  814.  
  815.           NOT ALL MACROS ARE ALLOWED!
  816.           Macros which request input from the keyboard are NOT allowed to be
  817.           used with Multi-Goal.  Macros such as "{?}", "\XL", and  "\XN" can
  818.           not be used.  
  819.  
  820.           DISALLOWED 1-2-3 MACROS
  821.  
  822.                {?}   prompt for input
  823.                \XL   prompt for input
  824.                \XN   prompt for input
  825.  
  826.  
  827.                                                  14
  828.  
  829.  
  830.  
  831.  
  832.  
  833.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  834.  
  835.           NOTE:
  836.                No checking for the macro type is done in GoalSeeker.  If any
  837.                of the above macros are used, the goal may not be found.
  838.  
  839.           STOPPING THE MULTI-GOAL PROCESS
  840.           GoalSeeker will process each  goal  seeking  request  from  top to
  841.           bottom, one  row at time.  When a blank, null, or invalid solution
  842.           cell is reached, the goal seeking process will stop.  
  843.  
  844.           STOP ON ERROR PARAMETER
  845.           The default parameter is to stop  the goal  seeking process  if an
  846.           error  occurs  or  if  the  maximum  number of iterations has been
  847.           reached.  You may set  this  error  option  within  the Parameters
  848.           Option.
  849.  
  850.           If  the  Parameter  for  Multi-Goal  is "Stop on Error = NO", then
  851.           GoalSeeker will not stop on an error or  if the  maximum number of
  852.           iterations is  reached.   You can control the goal seeking process
  853.           and error  trapping  with  your  own  user  defined  macros.   See
  854.           Parameters Option.  
  855.  
  856.           REVIEW OPTION
  857.           The Review  option is  used to review the results of the last goal
  858.           seek operation.  Each  solution  value,  goal  value,  target goal
  859.           value, and  the differences are displayed for each solution tried.
  860.  
  861.  
  862.           The Review option may be useful  if GoalSeeker  could not  to find
  863.           the correct  solution, or  if you wish to more closely examine the
  864.           goal seeking process.  
  865.            
  866.           The Review window is  overlayed on  top of  your spreadsheet.   An
  867.           example of the Review window is shown below.  
  868.  
  869.           The following example is a squared equation (A1^2).    
  870.  
  871.                                                                         
  872.                               GoalSeeker REVIEW                         
  873.                                   Esc=cancel                            
  874.                                                                         
  875.              #      Solution        Goal        Actual         Diff     
  876.             ---   ------------  -----------  ------------  -----------  
  877.              1    12.000000000  144.0000000  4.0000000000  140.0000000  
  878.              2    13.200000000  174.2400000  4.0000000000  170.2400000  
  879.              3    6.4444444444  41.53086419  4.0000000000  37.53086419  
  880.              4    2.0000000003  4.000000001  4.0000000000  .0000000012  
  881.                                                                         
  882.  
  883.           The starting  value of  the solution  cell was 12 and the starting
  884.           value of  the goal  cell was  144.   The second  solution value is
  885.  
  886.                                                  15
  887.  
  888.  
  889.  
  890.  
  891.  
  892.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  893.  
  894.           13.2, which  is 10%  of the starting value (12.00).  The 10% value
  895.           is  the  "Initial  starting   percentage"  as   described  in  the
  896.           "Parameters" section.  
  897.  
  898.           The previous  example proceeds through 4 iterations until our goal
  899.           of 4.0 was reached.   In  this example,  you will  notice that the
  900.           answer is not exact, but it is within our percent error allowed in
  901.           goal which is described in the "Parameters" section.  
  902.  
  903.           The Review  window will  hold approximately  13 numbers.   If more
  904.           than 13  iterations are  required to  find the goal, the following
  905.           message will be displayed: 
  906.  
  907.                     Press any key=next page, Esc=cancel
  908.            
  909.           Press any key to see the results of the remaining iterations up to
  910.           25.  
  911.  
  912.           GOAL ERRORS
  913.           If the  result of  the calculated  GOAL cell was in error or had a
  914.           value such  as  "ERR",  "*******",  or  "NA",  a  message  will be
  915.           displayed   in   the   REVIEW   window   which  states  "ERROR  in
  916.           Calculation".  The solution value which caused the error will also
  917.           be displayed.  
  918.  
  919.           This example uses the @SQRT(A1) function in Lotus 1-2-3.
  920.  
  921.                                                                         
  922.                                GoalSeeker REVIEW                        
  923.                                   Esc=cancel                            
  924.                                                                         
  925.              #      Solution        Goal        Actual         Diff     
  926.             ---   ------------  -----------  ------------  -----------  
  927.              1    4.0000000000  2.000000000  1.0000000000  1.000000000  
  928.              2    4.4000000000  2.097617696  1.0000000000  1.097617696  
  929.              3    -.0976176980     ERROR in Calculation                 
  930.              4    0.0           0.0          1.0000000000  -1.00000000  
  931.              5    1.5574153941  1.247964500  1.0000000000  .2479645002  
  932.              6    1.0000000001  1.000000000  1.0000000000  .0000000001  
  933.                                                                         
  934.  
  935.           As you  can see,  GoalSeeker used  a negative number for the third
  936.           try, which caused an error in the GOAL cell.  (Square Root  of any
  937.           negative number is an error).  
  938.  
  939.           When an  "ERROR in Calculation" occurs, GoalSeeker must "guess" at
  940.           a value to clear the error.    In  the  example  above,  the first
  941.           "guess" was zero.  
  942.  
  943.  
  944.  
  945.                                                  16
  946.  
  947.  
  948.  
  949.  
  950.  
  951.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  952.  
  953.           If the  goal had  not been  found, this  review may have given you
  954.           information to set parameters,  such that  the solution  is always
  955.           positive.
  956.  
  957.  
  958.  
  959.  
  960.           PROBLEMS AND SOLUTIONS
  961.  
  962.           The following  is a list of situations which can arise while using
  963.           GoalSeeker and possible corrections to problems.  
  964.  
  965.           VARYING MORE THAN ONE ITEM
  966.           GoalSeeker will vary only one data item at a time to find a single
  967.           goal.   However, you may want to see the result goal seeking would
  968.           have on many input  variables at  the same  time.   One way  is to
  969.           average or "weigh" the input numbers.
  970.  
  971.           For example, assume you have 12 monthly sales numbers and you want
  972.           to set a goal on the yearly profit number.   To find  the solution
  973.           for all twelve months, we could average.  
  974.  
  975.           Example:
  976.                If the 12 sales numbers are input data values, change each to
  977.                a formula cell.  Set each input monthly sales number equal to
  978.                a formula (1: +G4/12, month 2: +G4/12, etc.) and vary G4 (the
  979.                SOLUTION cell).  Now we can see the average for each month.  
  980.  
  981.           MULTIPLE SOLUTIONS
  982.           Under some conditions, there may  be  more  than  one  solution to
  983.           achieve the  desired goal  value.   The best  example is a squared
  984.           equation (i.e.  A1^2).  If you are looking for  a goal  of 1, then
  985.           there are two answers: 1 and -1, because a minus one times a minus
  986.           one is still a plus one.  
  987.  
  988.           To solve this problem, you can:
  989.                1.   Use a starting solution value close to what  you believe
  990.                     is going  to be the final solution.  Example, a negative
  991.                     starting value in the above example  would produce  a -1
  992.                     answer.  
  993.  
  994.                2.   Limit the  bounds of  the solution  using the Parameters
  995.                     option.  In the above example,  set the  lower bounds of
  996.                     the solution to 0 to obtain a positive solution of 1.  
  997.            
  998.           It is  possible to have three or more solutions to a desired goal.
  999.           If the 
  1000.           solution GoalSeeker found is not the solution you desire, set both
  1001.           the  lower  and  upper  bounds  of  the  solution to the range you
  1002.           desire.  
  1003.  
  1004.                                                  17
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  1011.  
  1012.  
  1013.           SOLUTION NOT POSSIBLE
  1014.           It is possible to request a  goal  value  which  simply  cannot be
  1015.           reached.  The best example is again the squared equation A1^2.  If
  1016.           a goal value of -1 is requested, no solution will be found.  
  1017.  
  1018.           DISCONTINUOUS FUNCTIONS
  1019.           A discontinuous function is  one  where  an  IF  function  (@IF in
  1020.           Lotus) has  changed the  normal result of an equation.  GoalSeeker
  1021.           can solve this type  of problem,  however, many  iterations may be
  1022.           required.  
  1023.  
  1024.           Example:
  1025.                     EXPENSES = SALES * 9%
  1026.                     IF EXPENSES < 500 THEN EXPENSES = SALES * 3%
  1027.  
  1028.           When EXPENSES  changes from  499 to  500, a  different equation is
  1029.           used.   Since  the  equation  changed  at  500,  this  would  be a
  1030.           discontinuous function.  
  1031.  
  1032.           SOLUTION CELL PROTECTED
  1033.           If the solution cell is protected, a "Cell Protected" message will
  1034.           be printed.  You must unprotect  the solution  cell for GoalSeeker
  1035.           to operate.  
  1036.            
  1037.           CANNOT LOAD WORKSHEET
  1038.           GoalSeeker requires  approximately 40k  bytes of  memory, which is
  1039.           taken before you load your worksheet.  If the memory  size of your
  1040.           worksheet is  close to  the memory  size of your computer, you may
  1041.           see a "memory full" error  message  produced  by  your spreadsheet
  1042.           when you load your worksheet.  
  1043.  
  1044.           For GoalSeeker  to operate  on the worksheet, you will either have
  1045.           to reduce the size of the spreadsheet or  add more  memory to your
  1046.           computer.  Memory can be added with an EMS board, for example.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.                                                  18
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  1070.  
  1071.           SOLUTION NOT BOUNDED
  1072.           GoalSeeker will  have a  difficult time finding the correct answer
  1073.           to an unbound solution.  This is a solution where  the answer does
  1074.           not converge or the goal seems random.  
  1075.  
  1076.           REMOVE PROGRAM
  1077.           The  REMOVE  program  is  used  to  remove GoalSeeker from memory.
  1078.           GoalSeeker is a memory  resident  program  which  takes  about 40k
  1079.           bytes of overhead to operate.  You may need to free that amount of
  1080.           memory for other applications.  
  1081.  
  1082.           IMPORTANT
  1083.  
  1084.                     GoalSeeker must  be  the  last  memory  resident program
  1085.                     loaded to remove it from memory.  
  1086.  
  1087.           At the DOS prompt, type "REMOVE" and then press the <Enter> key.  
  1088.  
  1089.           You should  see the  message "Unloading  the product: GoalSeeker".
  1090.           This indicates that GoalSeeker  has been  removed from  memory and
  1091.           the memory that it previously occupied has been freed.  
  1092.  
  1093.           If  you  run  REMOVE  and  the  message  "Nothing found to unload"
  1094.           appears, then GoalSeeker has already been removed from memory.  
  1095.  
  1096.           If  you  see  the  message  "Another   program  intervenes",  this
  1097.           indicates that GoalSeeker was not the last memory resident program
  1098.           loaded.  Another memory resident  program  has  been  loaded after
  1099.           GoalSeeker.    To  remove  GoalSeeker  from memory, you must first
  1100.           remove the intervening  program  with  that  program's  own remove
  1101.           procedure.  
  1102.  
  1103.           NOTE:
  1104.                Some memory resident utilities cannot be removed from memory,
  1105.                such as the DOS commands MODE and PRINT.  If  you have loaded
  1106.                either of these memory resident program after GoalSeeker, the
  1107.                only way to remove GoalSeeker from memory is  to re-boot your
  1108.                system.  
  1109.  
  1110.           GOALSEEKER MESSAGES
  1111.           The following  GoalSeeker messages  are in alphabetical order.  An
  1112.           explanation of each message follows.  
  1113.  
  1114.           "A GOAL VALUE MUST FIRST BE DEFINED"
  1115.           You must define a  goal value  before you  begin the  goal seeking
  1116.           operation.   Move to the GOAL cell and press <Alt><Space> and then
  1117.           press "G" key.  
  1118.  
  1119.           "ALREADY LOADED"
  1120.  
  1121.  
  1122.                                                  19
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  1129.  
  1130.           This message will be displayed if  you attempt  to load GoalSeeker
  1131.           when it  is already  in memory.   All of your parameters remain in
  1132.           effect.  
  1133.  
  1134.           "ERROR -  THE SOLUTION  CELL IS  NOT A  FUNCTION OF  THE GOAL CELL
  1135.           (XX)"
  1136.           OR 
  1137.           "ERROR  -  THE  GOAL  VALUE  DID  NOT CHANGE WHEN THE SOLUTION WAS
  1138.           MODIFIED"
  1139.           The goal value did not change when the starting solution value was
  1140.           multiplied by the starting percentage.  See the Parameters Option.
  1141.  
  1142.  
  1143.           Check your equations to be certain that the SOLUTION cell  is used
  1144.           in calculating  the GOAL  cell.   If it  is, then  be certain that
  1145.           changing the solution value by the starting percentage will modify
  1146.           the goal  value.   The change  in this  goal value is required for
  1147.           GoalSeeker to operate.  
  1148.  
  1149.           "ITERATIONS MUST BE BETWEEN 1 AND 25"
  1150.           Within the Parameters Option, the maximum number of  iterations is
  1151.           25.  
  1152.  
  1153.           "MAXIMUM NUMBER OF ITERATIONS REACHED"
  1154.           GoalSeeker  has  reached  the  number  of  tries  specified in the
  1155.           Parameters Option and has  stopped processing  without finding the
  1156.           desired goal.  Some of your options are: 
  1157.  
  1158.                     1.  Try GoalSeeker again with the new starting value.
  1159.                     2.  Increase the percent error in goal parameter.
  1160.                     3.  Limit the bounds of the solution.
  1161.  
  1162.           "NO MEMORY AVAILABLE FOR GOALSEEKER - NOT INSTALLED"
  1163.           GoalSeeker was not installed on your computer when you typed GS at
  1164.           the DOS prompt.  GoalSeeker requires only 40k bytes of memory, but
  1165.           not enough  memory was available to install it.  Check your memory
  1166.           chips for errors or remove  other  memory  resident  programs from
  1167.           memory.  
  1168.  
  1169.           "PRESS R KEY TO RESTORE ORIGINAL VALUE"
  1170.           If the R key is pressed when this message appears, GoalSeeker will
  1171.           automatically  restore  the  beginning   solution  value   to  the
  1172.           spreadsheet.    This  would  be  the value before the goal seeking
  1173.           operation started.  
  1174.  
  1175.           "THE GOAL CELL MUST BE A CALCULATED (FORMULA) CELL"
  1176.           When you are defining a target goal, the GOAL cell  must contain a
  1177.           formula.     Refer  to  your  spreadsheet  users  manual  for  the
  1178.           definition of a formula.  Example: +A1 is a calculated cell.  
  1179.  
  1180.  
  1181.                                                  20
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.           GoalSeeker Users' Manual         Copyright 1987 Brown Bag Software
  1188.  
  1189.           "USE DOS 2.0 OR ABOVE"
  1190.           GoalSeeker will only work with DOS version 2.0 or higher.  You can
  1191.           use the  DOS command "VER" to find out what version of DOS you are
  1192.           currently running.  For more information  on "VER",  refer to your
  1193.           DOS manual.  
  1194.  
  1195.           "YOU MUST BE WITHIN YOUR SPREADSHEET TO ACTIVATE GOALSEEKER"
  1196.           If  you  press  the  <ALT><Space>  to  start  GoalSeeker  you, are
  1197.           required  to  be  in  your  spreadsheet.    If  you  are  in  your
  1198.           spreadsheet  program  and  get  this message, check the section of
  1199.           this manual labeled "INSTALLING GOALSEEKER" to be certain that the
  1200.           correct version of GoalSeeker is installed to match your spreadsheet.
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.                                                  21
  1241.